package com.itheima.service;

import com.itheima.entity.ProjectReview;
import com.itheima.entity.ProjectReviewProgress;
import com.itheima.pojo.po.ProjectReviewPo;
import com.itheima.pojo.po.ProjectReviewProgressPo;

import java.util.List;

/**
 * 项目审核进度Service接口
 * 
 * @author guanhuaer
 * @date 2025-03-18
 */
public interface IProjectReviewProgressService 
{
    /**
     * 查询项目审核进度
     * 
     * @param id 项目审核进度主键
     * @return 项目审核进度
     */
    public ProjectReviewProgress selectProjectReviewProgressById(Long id);

    /**
     * 查询项目审核进度列表
     * 
     * @param projectReviewProgress 项目审核进度
     * @return 项目审核进度集合
     */
    public List<ProjectReviewProgress> selectProjectReviewProgressList(ProjectReviewProgress projectReviewProgress);

    /**
     * 新增项目审核进度
     * 
     * @param projectReviewProgress 项目审核进度
     * @return 结果
     */
    public int insertProjectReviewProgress(ProjectReviewProgress projectReviewProgress);

    /**
     * 修改项目审核进度
     * 
     * @param projectReviewProgress 项目审核进度
     * @return 结果
     */
    public int updateProjectReviewProgress(ProjectReviewProgress projectReviewProgress);


    public ProjectReviewPo selectProjectList(Long projectId);

    int insertProjectReview(ProjectReview projectReview);

    /**
     * 审核项目
     * @param progressPo
     */
    void projectAudit(ProjectReviewProgressPo progressPo);

    List<ProjectReview> selectProjectIdsList(Integer[] projectIds);

    List<Integer> selectIdsByUsername(String username);
}
